package com.tyqx.hashchaindao.mapper;

import com.tyqx.hashchainbean.module.JZTAttachmentBusiness;
import com.tyqx.hashchainbean.module.UserNameAuthorityQuery;
import com.tyqx.hashchainbean.vo.JZTAttachmentBusinessVO;
import com.tyqx.hashchainbean.vo.UserNameAuthorityQueryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserNameAuthorityQueryMapper {


    public Integer addUserNameAuthorityQuery(UserNameAuthorityQuery userNameAuthorityQuery);

    public Integer deleteUserNameAuthorityQuery(Integer id);

    public List<Integer> selectIdByUserNameAndGrantUserName(@Param("userName") String userName,@Param("grantUserName") String grantUserName,@Param("grantType") String grantType);

    public List<UserNameAuthorityQueryVO> queryUserNameAuthorityQueryByUserName(String userName);

}
